package Entity;

public class Merchandise {
    private String id;
    private String name;
    private double price;
    private int num;
    private int mctid;
    private String url;

    public Merchandise(String id, String name, double price, int num, int mctid, String url) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.num = num;
        this.mctid = mctid;
        this.url = url;
    }

    @Override
    public String toString() {
        return "Merchandise{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", num=" + num +
                ", mctid=" + mctid +
                ", url='" + url + '\'' +
                '}';
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getMctid() {
        return mctid;
    }

    public void setMctid(int mctid) {
        this.mctid = mctid;
    }

}
